package com.sjtu.bookread.obj;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class BookListObj implements Serializable {
    @SerializedName("ok")
    private boolean ok;

    @SerializedName("total")
    private int total;

    @SerializedName("books")
    private List<BookObj1> books;

    public int getTotal() {return total;}

    public List<BookObj1> getBooks() {return books;}

    public boolean isOk() {return ok;}
}
